package com.ch.dao;

import com.ch.domain.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chenhong
 * @version 1.0.0
 * @ClassName StudentDao.java
 * @Description TODO
 * @createTime 2020年12月07日 17:04:00
 */
public interface StudentDao {

    public List<Student> selectStudents();
    public int insertStudent(Student student);
    public List<Student> selectStudentsByMultiParam(@Param("myName") String Name,
                                                    @Param("myAge") Integer age);
    public int countStudent();
    public List<Student> selectStudentsByNameOrAge(Student student);

    public List<Student> selectStudentsByForEach(List<Integer> list);
}
